package com.gmlive.common.host.model

/**
 * Created by ZhongJianXin
 * on 2019-10-23
 * desc
 */
class BaseModel<T> {
    var dm_error: Int = 0
    var error_msg: String? = null
    var data: T? = null

    fun isSuccess(): Boolean {
        return 0 == dm_error
    }
}